package com.nft.service.school.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("nd_tasks_annex")
@ApiModel(value="BookContentEntity对象", description="图书内容信息")
public class BookContentEntity implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "图书关联键")
    private Long taskId;

    @ApiModelProperty(value = "附件上传路径")
    private String fileUrl;

    @ApiModelProperty(value = "文件类型 0文件 1图片")
    private Integer type;

    @ApiModelProperty(value = "解析文件上传路径")
    private String jxfileurl;

    @ApiModelProperty(value = "解析关键字符串")
    private String jxkey;
}
